<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>详细页面</title>
</head>
<body>
<h2>
    {{book.id}},{{book.title}},{{book.pub_date}}
</h2>
    人物信息：<br>
<ul>
    {%for hero in heros %}
        <li>{{hero.id}}--{{hero.name}}<a href="{% url 'bookdelhero' hero.id %}">删除</a></li>
    {% endfor %}
</ul>
</body>
</html>